3.2 \(\int x^2 \log (c x) \, dx\)

Optimal. Leaf size=19 \[ \frac{1}{3} x^3 \log (c x)-\frac{x^3}{9} \]

[Out]

-x^3/9 + (x^3*Log[c*x])/3

________________________________________________________________________________________

Rubi [A]  time = 0.0066558, antiderivative size = 19, normalized size of antiderivative = 1., number of steps used = 1, number of rules used = 1, integrand size = 8, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.125, Rules used = {2304} \[ \frac{1}{3} x^3 \log (c x)-\frac{x^3}{9} \]

Antiderivative was successfully verified.

[In]

Int[x^2*Log[c*x],x]

[Out]

-x^3/9 + (x^3*Log[c*x])/3

Rule 2304

Int[((a_.) + Log[(c_.)*(x_)^(n_.)]*(b_.))*((d_.)*(x_))^(m_.), x_Symbol] :> Simp[((d*x)^(m + 1)*(a + b*Log[c*x^
n]))/(d*(m + 1)), x] - Simp[(b*n*(d*x)^(m + 1))/(d*(m + 1)^2), x] /; FreeQ[{a, b, c, d, m, n}, x] && NeQ[m, -1
]

Rubi steps

\begin{align*} \int x^2 \log (c x) \, dx &=-\frac{x^3}{9}+\frac{1}{3} x^3 \log (c x)\\ \end{align*}

Mathematica [A]  time = 0.0009417, size = 19, normalized size = 1. \[ \frac{1}{3} x^3 \log (c x)-\frac{x^3}{9} \]

Antiderivative was successfully verified.

[In]

Integrate[x^2*Log[c*x],x]

[Out]

-x^3/9 + (x^3*Log[c*x])/3

________________________________________________________________________________________

Maple [A]  time = 0.036, size = 16, normalized size = 0.8 \begin{align*} -{\frac{{x}^{3}}{9}}+{\frac{{x}^{3}\ln \left ( cx \right ) }{3}} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x^2*ln(c*x),x)

[Out]

-1/9*x^3+1/3*x^3*ln(c*x)

________________________________________________________________________________________

Maxima [A]  time = 0.959366, size = 20, normalized size = 1.05 \begin{align*} \frac{1}{3} \, x^{3} \log \left (c x\right ) - \frac{1}{9} \, x^{3} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^2*log(c*x),x, algorithm="maxima")

[Out]

1/3*x^3*log(c*x) - 1/9*x^3

________________________________________________________________________________________

Fricas [A]  time = 0.838674, size = 38, normalized size = 2. \begin{align*} \frac{1}{3} \, x^{3} \log \left (c x\right ) - \frac{1}{9} \, x^{3} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^2*log(c*x),x, algorithm="fricas")

[Out]

1/3*x^3*log(c*x) - 1/9*x^3

________________________________________________________________________________________

Sympy [A]  time = 0.097191, size = 14, normalized size = 0.74 \begin{align*} \frac{x^{3} \log{\left (c x \right )}}{3} - \frac{x^{3}}{9} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x**2*ln(c*x),x)

[Out]

x**3*log(c*x)/3 - x**3/9

________________________________________________________________________________________

Giac [A]  time = 1.08101, size = 20, normalized size = 1.05 \begin{align*} \frac{1}{3} \, x^{3} \log \left (c x\right ) - \frac{1}{9} \, x^{3} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^2*log(c*x),x, algorithm="giac")

[Out]

1/3*x^3*log(c*x) - 1/9*x^3